/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 25228
 * Date: 2024-07-21
 * Time: 10:04
 */
public class ShowBooks implements Port{
    @Override
    public void work(BookList bookList) {
        int size=bookList.getUserSize();
        for(int i=0;i<size;i++){
            Book book=bookList.getBooks(i);
            System.out.println(book);
        }
    }
}
